<?php 
//echo $this->Html->script(array(''),$options = array('allowCache'=>false,'safe'=>false,'inline'=>false));
?>
<?php echo $this->Html->css(array('ogloszenia.dodaj','form'),null,array('inline'=>false));?>

<div id="left-panel">
	<div id="logo"><?php echo $this->Html->link($this->Html->image('logo.png'),'/',array('escape'=>false,'alt'=>'strzyzowianin.pl'))?></div>
	<h2><?php echo __('oferty pracy')?></h2>
	<ul>
		<li><?php echo $this->Html->link(__('wyszukaj',true).$this->Html->image('search.png',array('align'=>'middle','class'=>'menu-main-icons')),array('controller'=>'pages','action'=>'praca'),array('escape'=>false))?></li>
		<?php echo $this->element('menu-praca')?>
	</ul>
</div>
<div id="right-panel">
	<h2><?php __('Dodaj ofertę'); ?></h2>
	<?php echo $this->Form->create('Ogloszenia',array('url'=>array('controller'=>'praca','action'=>'dodaj')));?>
	
	<input type="hidden" name="data[Group][Group]" value="2"/>
	<table>
		<tr>
			<td><?php echo $this->Form->input('name',array('label'=>__('Tytuł oferty',true),'style'=>'width: 400px;','size'=>150));?></td>
		</tr>
		<tr>
			<td><?php echo $this->Form->input('content',array('label'=>__('Pełny opis',true)));?></td>
		</tr>
		<tr>
			<td><?php echo $this->Form->input('tags',array('label'=>__('Słowa kluczowe, Tagi',true)));?></td>
		</tr>
	</table>
	<?php echo $this->Form->end(__('Submit', true));?>
	
</div>
<div class="clear"></div>


